package com.xqboss.apps.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class UserBox extends BaseTable {

    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("箱子ID")
    private Long boxId;
    @ApiModelProperty("箱子名称")
    private String name;
    @ApiModelProperty("箱子图片")
    private String headimg;
    @ApiModelProperty("箱子描述")
    private String description;
    @ApiModelProperty("箱子数量")
    private Integer quantity;
    @ApiModelProperty("分类ID")
    private Long categoryId;
    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("一级分类")
    private String pcName;
    @ApiModelProperty("作者id")
    private Long authorId;
    @ApiModelProperty("作者名称")
    private String authorName;
    @ApiModelProperty("作者头像")
    private String authorHeadimg;
    @ApiModelProperty("发行方ID")
    private Long publishId;
    @ApiModelProperty("发行方名称")
    private String publishName;
    @ApiModelProperty("发行方头像")
    private String publishHeadimg;

    @ApiModelProperty("是否锁定 0否1是")
    private Integer isLock;
}
